Installing Perl modules and dependencies with non-root and without CPAN [migrated]

Posted by Eegabooga on Programmers See other posts from Programmers or by Eegabooga
Published on 2012-12-19T16:10:17Z Indexed on 2012/12/19 17:13 UTC
Read the original article Hit count: 351

Filed under:
|

I have been writing Perl scripts for my work and the machine that I have been given to work on makes installing Perl modules difficult:

  • We cannot have gcc on my machine for security reasons, so I cannot use CPAN to install modules, for most modules.
  • I do not have access to the root account.

Usually, when I want to install a module, I put in a request and I have to wait a day or two before it gets installed. I know that nobody would have a problem with me installing them myself, so to save everyone's time and my sanity I would like to install them myself. It's just an issue of how to best do that. I have talked to various people and they said to use an RPM to install them (to get around not having gcc). However, when trying to install modules from RPMs, it does not handle the dependencies so I would manually need to handle the dependencies, which could take a while.

How can I best install Perl modules with these limitations?

© Programmers or respective owner

Related posts about perl

Related posts about modules